package com.shkco.xbjcc.service;

import com.shkco.xbjcc.domain.KillCourse;
import com.baomidou.mybatisplus.service.IService;
import com.shkco.xbjcc.dto.KillCourseOrderDto;
import com.shkco.xbjcc.vo.CourseInfoVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author whale
 * @since 2022-10-20
 */
public interface IKillCourseService extends IService<KillCourse> {

    void publish(KillCourse killCourse);

    List<KillCourse> selectByActivityId(Long id);

    List<KillCourse> onlineAll();

    KillCourse onlineOne(Long killActivityId, Long killCourseId);

    String kill(KillCourseOrderDto killCourseOrderDto);

    CourseInfoVo onlineOneByOrder(String orderNo);
}
